package com.sxbbc.common.core.mapper.jz;

import com.sxbbc.common.core.entity.jz.ActivitySeckillRemind;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 秒杀提醒表 Mapper 接口
 * </p>
 *
 * @author leehao
 * @since 2019-06-17
 */
public interface ActivitySeckillRemindMapper extends BaseMapper<ActivitySeckillRemind> {

    /**
     * 查询需要提醒的秒杀活动
     * @param time 分钟
     * @author leehao
     * @return 集合对象
     */
    List<ActivitySeckillRemind> queryNeedRemindList(@Param("time") Integer time);
}
